//
//  OpHomeModel.h
//  LoveBeeProject
//
//  Created by skywalker on 17/1/8.
//  Copyright © 2017年 斯芬克斯. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Networking.h"

@interface OpHomeModel : NSObject
///规格
@property (copy, nonatomic) NSString *specifics;
///价格
@property (copy, nonatomic) NSString *partner_price;
///id
@property (copy, nonatomic) NSString *tag_ids;
///优惠
@property (copy, nonatomic) NSString *pm_desc;
///图片
@property (copy, nonatomic) NSString *img;
///名字
@property (copy, nonatomic) NSString *name;

@property (nonatomic, assign) NSInteger goodNumbers;
/// 当前价格
@property (nonatomic,copy) NSString *price;
/// 库存
@property (nonatomic,assign) NSInteger number;

@property (nonatomic,assign) NSInteger had_pm;
/// 商品ID
@property (nonatomic,copy) NSString *gid;
// 记录用户对商品添加次数
@property (nonatomic,assign) NSInteger userBuyNumber;
- (void)loadDataWithHomeMethod:(network)method url:(NSString *)urlstr parameters:(id)parameters success:(void(^)(id responseobject))successBlock failure:(void(^)(NSError *error))failureBlock;



@end
